package com.codingclub.domain.bo;

import com.codingclub.common.entity.PageInfo;
import com.codingclub.common.enums.ErrCode;
import com.codingclub.common.enums.SubjectInfoTypeEnum;
import com.codingclub.common.exception.BusinessException;
import lombok.Data;
import org.apache.commons.lang3.StringUtils;

import java.io.Serializable;
import java.util.List;

/**
 * 题目信息表(SubjectInfo)实体类
 *
 * @author makejava
 * @since 2024-11-13 20:08:28
 */
@Data
public class SubjectInfoBO extends PageInfo implements Serializable {
    private static final long serialVersionUID = -77344200961461061L;
    /**
     * 主键
     */
    private Long id;
    /**
     * 题目名称
     */
    private String subjectName;
    /**
     * 题目难度
     */
    private Integer subjectDifficult;
    /**
     * 出题人名
     */
    private String settleName;
    /**
     * 题目类型 1单选 2多选 3判断 4简答
     */
    private Integer subjectType;
    /**
     * 题目分数
     */
    private Integer subjectScore;
    /**
     * 题目解析
     */
    private String subjectParse;

    /**
     * 题目答案(简答题)
     */
    private String subjectAnswer;

    /**
     * 题目选项
     */
    private List<SubjectAnswerBO>answerBOS;

    /**
     * 题目分类
     */
    private List<Long>categoryIds;

    /**
     * 题目标签
     */
    private List<Long>labelIds;

    /**
     * 标签id
     */
    private Long labelId;

    /**
     * 分类id
     */
    private Long categoryId;

    /**
     * lable names
     */
    private List<String>labelNames;
}

